package com.homedo.async.mysql.support.convertor.forfieldval;

/**
 * @author jgshun
 * @date 2020/1/20 11:51 AM
 */
public class DoubleResultFieldValConvertor implements ResultFieldValConvertorI {
    private static final DoubleResultFieldValConvertor INSTANCE = new DoubleResultFieldValConvertor();

    public static DoubleResultFieldValConvertor getInstance() {
        return INSTANCE;
    }

    @Override
    public Double convertor(Object columnVal) {
        return Double.valueOf(columnVal.toString());
    }

}
